﻿@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

.results h2 {
  font-size: 1.35em;
  font-weight: 600;
  margin: 0 0 20px;
  color: #204d77;
}
      .results h2 {
    font-size: 1.65em;
  }

.results h3 {
  color: #333;
}

.ais-SearchBox-form {
    display: block;
    position: relative;
    width: 100%;
}

.ais-show-more {
    border: 1px solid #acacac;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
    clear: both;
    display: block;
}

.ais-SearchBox {
    width: 100%;
}

.ais-SearchBox-input {
    border: 0px;
    height: 48px;
    width: 100%;
    text-indent: 10px;
    outline: none;
}

    .ais-HitsPerPage-select {
        border-radius: 0px;
        width: 100px;
    }

.ais-SearchBox-submit .SearchIcon {
    background-color: #000;
    color: #fff;
}

.ais-RefinementList-searchBox input.ais-SearchBox-input {
    width: 83%;
    border: 1px solid #eee;
    margin-top: 10px;
    margin-bottom: 10px;
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
}

.ais-SearchBox-submit {
    background: #4ab4e3;
    border: 1px solid #4ab4e3;
    border-left: none;
    padding: 8px 12px;
    cursor: pointer;
    height:50px;
    width:40px;
}

/* Hide the default SVG icon */
.ais-SearchBox-submitIcon {
    display: none;
}

/* Add Font Awesome icon using CSS */
.ais-SearchBox-submit::before {
    content: "\f002"; /* Unicode for Font Awesome search icon */
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    font-size: 16px;
    color: #fff;
}

.ais-SearchBox-reset {
    display: none;
}

.ais-VoiceSearch-button {
    border: none;
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 50%;
    color: #3a4570;
    background-color: transparent;
}

    .ais-VoiceSearch-button svg {
        color: currentColor;
    }

    .ais-VoiceSearch-button:hover {
        cursor: pointer;
        background-color: #a5aed1;
        color: #fff;
    }

    .ais-VoiceSearch-button:disabled {
        color: #a5aed1;
    }

        .ais-VoiceSearch-button:disabled:hover {
            color: #a5aed1;
            cursor: not-allowed;
            background: inherit;
        }

.ais-Panel {
    margin-top: 30px;
}

.ais-Panel-header {
    margin: 4px 0 4px;
    padding: 4px 0 4px;
    border-top: 1px solid #ddd;
    display: inline-block;
    width: 100%;
}

    .ais-Panel-header h5 {
        /*text-transform: uppercase;*/
        float: left;
        margin-bottom: 0px;
    }

.ais-Panel-collapseButton {
    float: right;
    background: #fff;
    border: 0px;
}

    .ais-Panel-collapseButton i {
        margin-top: 13px;
    }

.ais-Panel--collapsible {
    position: relative;
    margin-bottom: 20px;
}

    .ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-body, .ais-Panel--collapsible.ais-Panel--collapsed .ais-Panel-footer {
        display: none;
    }

    .ais-Panel--collapsible .ais-Panel-collapseButton {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0;
        border: none;
        background: none;
    }

#refined div.ais-Panel {
    margin-top: 0px;
}

.ais-CurrentRefinements-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.ais-CurrentRefinements-item {
    color: #fff;
    background-color: #4ab4e3;
/*    border-radius: 3px;*/
/*    padding: 4px;*/
/*    margin-top: 5px;*/
    font-weight: bold;

    margin-right: 0.3rem;
    margin-top: 0.3rem;
    padding: 0.3rem 0.5rem;
    display: flex;
/*    background-color: rgb(73, 85, 136);*/
    border-radius: 5px;
    white-space: nowrap;
}

.ais-CurrentRefinements-label {
    margin-right: 5px;
    color: #fff;
}

.ais-CurrentRefinements-delete {
    border: 0px;
    background-color: #4ab4e3;
    display: inline;
    margin: 0 auto;
    color: #fff;
    font-weight: bold;
    font-size: smaller;
}

.ais-CurrentRefinements-category {
    color: #fff;
}

#refinedquery .ais-Panel {
    margin-top: 0px;
}

.ais-RangeInput-submit {
    width: 100%;
    margin-top: 15px;
    height: 40px;
    border: 1px solid #ccc;
    background-color: #eee;
}

.ais-RangeInput-input {
    border:1px solid #eee;
}

#refinedquery .ais-CurrentRefinements-item {
    color: #fff;
    background-color: #81cc29;
    font-weight: bold;
    margin-right: 0.3rem;
    margin-top: 0.3rem;
    padding: 0.3rem 0.5rem;
    display: flex;
    border-radius: 5px;
}

#refinedquery .ais-CurrentRefinements-delete {
    background-color: #81cc29;
    font-size: smaller;
}

    .ais-RefinementList-list {
        list-style-type: none;
        margin: 0;
        padding: 0;
        font-size:small;
    }

.ais-RefinementList-item {
    /*border-bottom: 1px solid #eee;*/
    display: inline-block;
    width: 100%;
    padding: 2px;
}

.ais-RefinementList-showMore {
    width: 100%;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ccc;
}

.ais-RefinementList-label {
    width: 100%;
    margin-bottom: 0px;
}

.ais-RefinementList-checkbox {
    float: left;
}

.ais-RefinementList-labelText, .ais-RefinementList-count {
    position: relative;
    float: right;
    color: #204d77;
    padding: 2px;
    width: auto;
    text-align: right;
    cursor: pointer;
    margin-left: 15px;
}

.ais-RefinementList-item--selected .ais-RefinementList-label .ais-RefinementList-count {
    color: #fff;
    font-weight: bold;
    background-color: #4ab4e3;
    border-radius: 3px;
}

.ais-RefinementList-labelText {
    float: left;
    font-weight: normal;
}

input[type='checkbox'] {
    line-height: 1.5em;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 0.25em;
    background: #eee;
    margin-top: 3px;
}

.ais-RangeSlider {
    margin-left: 10px;
    margin-right: 10px;
    padding-bottom: 2px;
}

    .ais-RangeSlider .ais-RangeSlider--disabled {
        cursor: not-allowed;
    }

        .ais-RangeSlider .ais-RangeSlider--disabled .ais-RangeSlider-handle {
            border-color: #ddd;
            cursor: not-allowed;
        }

        .ais-RangeSlider .ais-RangeSlider--disabled .rheostat-horizontal .rheostat-progress {
            background-color: #ddd;
        }

    .ais-RangeSlider .rheostat {
        overflow: visible;
        margin-top: 2em;
        margin-bottom: 2em;
    }

    .ais-RangeSlider .rheostat-background {
        background-color: #fff;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        border-left: 2px solid #ddd;
        border-right: 2px solid #ddd;
        position: relative;
    }

    .ais-RangeSlider .rheostat-horizontal .rheostat-background {
        height: 6px;
        top: 0;
        width: 100%;
    }

    .ais-RangeSlider .rheostat-horizontal .rheostat-progress {
        background: linear-gradient(to right, #3e9ff0 0%, #ff5e06 100%);
        position: absolute;
        height: 4px;
        top: 1px;
    }

    .ais-RangeSlider .rheostat-horizontal .rheostat-handle {
        margin-left: -12px;
        top: -7px;
    }

.rheostat .rheostat-horizontal .rheostat-handle .rheostat-tooltip {
    text-align: center;
    margin-left: -10px;
    width: 40px;
}

.rheostat .rheostat-horizontal .rheostat-handle::after, .rheostat .rheostat-horizontal .rheostat-handle::before {
    top: 7px;
    height: 10px;
    width: 1px;
}

.rheostat .rheostat-horizontal .rheostat-handle::before {
    left: 10px;
}

.rheostat .rheostat-horizontal .rheostat-handle::after {
    left: 13px;
}


.rheostat-handle {
    width: 17px;
    height: 17px;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.rheostat-handle-lower {
    left: 5px;
    bottom: 7px;
    background: #3e9ff0;
}

    .rheostat-handle-lower .rheostat-tooltip {
        left: 5px;
        top: -22px;
    }

.rheostat-handle-upper {
    right: 0px;
    bottom: 7px;
    background: #ff5e06;
}

    .rheostat-handle-upper .rheostat-tooltip {
        right: 0px;
        top: 22px;
    }

.rheostat-tooltip {
    position: absolute;
    background: #fff;
    font-size: .8em;
}

.rheostat-value {
    width: 40px;
    position: absolute;
    text-align: center;
    margin-left: -20px;
    padding-top: 15px;
    font-size: .8em;
}

.rheostat-marker {
    position: absolute;
    background: #ddd;
    margin-left: -1px;
    width: 1px;
    height: 5px;
}

/* PAGINATION */
#pagination {
    display: block;
    clear: both;
}

.ais-InfiniteHits-list,
.ais-InfiniteResults-list,
.ais-Pagination-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ais-InfiniteHits-loadPrevious,
.ais-InfiniteHits-loadMore,
.ais-InfiniteResults-loadMore {
    padding: 0;
    overflow: visible;
    font: inherit;
    line-height: normal;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .ais-InfiniteHits-loadPrevious::-moz-focus-inner,
    .ais-InfiniteHits-loadMore::-moz-focus-inner,
    .ais-InfiniteResults-loadMore::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

    .ais-InfiniteHits-loadPrevious[disabled],
    .ais-InfiniteHits-loadMore[disabled],
    .ais-InfiniteResults-loadMore[disabled] {
        cursor: default;
    }

.ais-Pagination-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ais-InfiniteHits,
.ais-InfiniteResults,
.ais-Pagination {
    color: #3a4570;
}

.ais-Pagination-link {
    color: #4ab4e3;
    -webkit-transition: color 0.2s ease-out;
    transition: color 0.2s ease-out;
}

    .ais-Pagination-link:hover,
    .ais-Pagination-link:focus {
        color: #0073a8;
    }

.ais-InfiniteHits-loadPrevious,
.ais-InfiniteHits-loadMore,
.ais-InfiniteResults-loadMore {
    padding: 0.3rem 0.5rem;
    font-size: 0.8rem;
    color: #fff;
    background-color: #4ab4e3;
    border-radius: 5px;
    -webkit-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
    outline: none;
}

    .ais-InfiniteHits-loadPrevious:hover,
    .ais-InfiniteHits-loadPrevious:focus,
    .ais-InfiniteHits-loadMore:hover,
    .ais-InfiniteHits-loadMore:focus,
    .ais-InfiniteResults-loadMore:hover,
    .ais-InfiniteResults-loadMore:focus {
        background-color: #0073a8;
    }

.ais-InfiniteHits-loadMore--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

    .ais-InfiniteHits-loadMore--disabled:hover,
    .ais-InfiniteHits-loadMore--disabled:focus,
    .ais-InfiniteResults-loadMore--disabled:hover,
    .ais-InfiniteResults-loadMore--disabled:focus {
        background-color: #4ab4e3;
    }

.ais-InfiniteHits-loadPrevious--disabled {
    display: none;
}

.ais-InfiniteHits-list,
.ais-InfiniteResults-list {
    margin-top: -1rem;
    margin-left: -1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ais-Panel-body .ais-InfiniteHits-list, .ais-Panel-body .ais-InfiniteResults-list, .ais-Panel-body .ais-Hits-list, .ais-Panel-body .ais-Results-list {
    margin: 0.5rem 0 0 -1rem;
}

.ais-InfiniteHits-item,
.ais-InfiniteResults-item {
    margin-top: 1rem;
    margin-left: 1rem;
    padding: 1rem;
    width: calc(25% - 1rem);
    border: 1px solid #c4c8d8;
    -webkit-box-shadow: 0 2px 5px 0px #e3e5ec;
    box-shadow: 0 2px 5px 0px #e3e5ec;
}

.ais-InfiniteResults-item {
    margin: 0.5rem 0 0.5rem 1rem;
}

.ais-InfiniteHits-loadMore,
.ais-InfiniteResults-loadMore {
    margin-top: 1rem;
}

.ais-InfiniteHits-loadPrevious {
    margin-bottom: 1rem;
}

.ais-Pagination-list {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.ais-Pagination-item + .ais-Pagination-item {
    margin-left: 0.3rem;
}

.ais-Pagination-link {
    padding: 0.3rem 0.6rem;
    display: block;
    border: 1px solid #c4c8d8;
    border-radius: 5px;
    font-size: 12pt;
    -webkit-transition: background-color 0.2s ease-out;
    transition: background-color 0.2s ease-out;
}

    .ais-Pagination-link:hover, .ais-Pagination-link:focus {
        background-color: #e3e5ec;
    }

.ais-Pagination-item--disabled .ais-Pagination-link {
    opacity: 0.6;
    cursor: not-allowed;
    color: #a5abc4;
}

    .ais-Pagination-item--disabled .ais-Pagination-link:hover, .ais-Pagination-item--disabled .ais-Pagination-link:focus {
        color: #a5abc4;
        background-color: #fff;
    }

.ais-Pagination-item--selected .ais-Pagination-link {
    color: #fff;
    background-color: #4ab4e3;
    border-color: #4ab4e3;
}

    .ais-Pagination-item--selected .ais-Pagination-link:hover, .ais-Pagination-item--selected .ais-Pagination-link:focus {
        color: #fff;
    }